using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN TuanHocEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: TuanHocEntity</para>
	/// <para>Description: ClassTuanHocEntity store data of table TuanHoc</para>
	///</summary>

	[DataContract]
	public partial class TuanHocEntity{


		private bool _InternalChangedIsNullTuanHoc_ID=true;
		private bool _IsNullTuanHoc_ID=true;
		private bool _InternalChangedIsNullMaTuanHoc=true;
		private bool _IsNullMaTuanHoc=true;
		private bool _InternalChangedIsNullTenTuanHoc=true;
		private bool _IsNullTenTuanHoc=true;
		private bool _InternalChangedIsNullThuTu=true;
		private bool _IsNullThuTu=true;
		private bool _InternalChangedIsNullGhiChu=true;
		private bool _IsNullGhiChu=true;
		private int _TuanHoc_ID;
		private string _MaTuanHoc;
		private string _TenTuanHoc;
		private int _ThuTu;
		private string _GhiChu;
		[DataMember]
		public bool IsNullTuanHoc_ID{
			get{return _IsNullTuanHoc_ID;}
			set{if(!_InternalChangedIsNullTuanHoc_ID)_IsNullTuanHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullMaTuanHoc{
			get{return _IsNullMaTuanHoc;}
			set{if(!_InternalChangedIsNullMaTuanHoc)_IsNullMaTuanHoc=value;}
		}
		[DataMember]
		public bool IsNullTenTuanHoc{
			get{return _IsNullTenTuanHoc;}
			set{if(!_InternalChangedIsNullTenTuanHoc)_IsNullTenTuanHoc=value;}
		}
		[DataMember]
		public bool IsNullThuTu{
			get{return _IsNullThuTu;}
			set{if(!_InternalChangedIsNullThuTu)_IsNullThuTu=value;}
		}
		[DataMember]
		public bool IsNullGhiChu{
			get{return _IsNullGhiChu;}
			set{if(!_InternalChangedIsNullGhiChu)_IsNullGhiChu=value;}
		}
		[DataMember]
		public int TuanHoc_ID{
			get{return _TuanHoc_ID;}
			set{
				_TuanHoc_ID=value;
				if(_TuanHoc_ID!=null){
					_IsNullTuanHoc_ID=false;
					_InternalChangedIsNullTuanHoc_ID=true;
				}
			}
		}
		[DataMember]
		public string MaTuanHoc{
			get{return _MaTuanHoc;}
			set{
				_MaTuanHoc=value;
				if(_MaTuanHoc!=null){
					_IsNullMaTuanHoc=false;
					_InternalChangedIsNullMaTuanHoc=true;
				}
			}
		}
		[DataMember]
		public string TenTuanHoc{
			get{return _TenTuanHoc;}
			set{
				_TenTuanHoc=value;
				if(_TenTuanHoc!=null){
					_IsNullTenTuanHoc=false;
					_InternalChangedIsNullTenTuanHoc=true;
				}
			}
		}
		[DataMember]
		public int ThuTu{
			get{return _ThuTu;}
			set{
				_ThuTu=value;
				if(_ThuTu!=null){
					_IsNullThuTu=false;
					_InternalChangedIsNullThuTu=true;
				}
			}
		}
		[DataMember]
		public string GhiChu{
			get{return _GhiChu;}
			set{
				_GhiChu=value;
				if(_GhiChu!=null){
					_IsNullGhiChu=false;
					_InternalChangedIsNullGhiChu=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END TuanHocEntityBase*****************************************/
	/*****************************************************************************************************/
}

